Adding some more judges, here and there.
[and.git] / lib / Mi manual de algoritmos / version_maraton_suramericana_2008 / src / number_theory / divisores.cpp
blob06ae036ecb402e115ba2dc4b1d267daf3bb2f7a5
1 for (int i=1; i*i<=n; i++) {
2 if (n%i == 0) {
3 cout << i << endl;
4 if (i*i<n) cout << (n/i) << endl;
6 }